<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <#--freemareker注释，不会显示哦！-->
    <title>${titile!"无标题"}</title>
</head>
<body>
    <table border="list">
        <thead>
        <th>分类id</th>
        <th>分类名</th>
        <th>操作</th>
        </thead>
        <#list list as obj>
            <tr>
                <td>${obj.id}</td>
                <td>${obj.name}</td>
                <td><a href="post_list?cid=${obj.id}">查看</a>
                    <a href="update_category?cid=${obj.id}">修改</a>
                    <a href="doDeleteCategory?cid=${obj.id}">删除</a></td>
            </tr>
        </#list>
    </table>
    <form action=".">
        第<input type="text" name="pageNum" value="${pageNum!'1'}">页面
        <input type="submit" value="查看">
    </form>
</body>
</html>